package com.baiye.template.service;

import com.baiye.template.pojo.ExceptionLog;
import com.baiye.template.pojo.OperationLog;

import java.util.List;

/**
 * @author GUOZHIPENG
 * @version 1.0
 * @date 2021/8/29 17:00
 */
public interface LogService {
    int saveExceptionLog(ExceptionLog excepLog);

    int saveOperLog(OperationLog operlog);

    List<OperationLog> getOperLog(OperationLog log, Integer pageIndex, Integer pageSize);

    List<ExceptionLog> getExceptionLog(ExceptionLog log, Integer pageIndex, Integer pageSize);

    int deleteLog(List idList, String tableName);
}
